package com.rmdjzz.slmmn.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.rmdjzz.slmmn.mapper.TypeMapper;
import com.rmdjzz.slmmn.pojo.base.Type;
import com.rmdjzz.slmmn.pojo.vo.RecommendGroupVo;
import com.rmdjzz.slmmn.pojo.vo.TypeGroupVo;
import com.rmdjzz.slmmn.service.TypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @作者 张绍鑫
 * @创建时间 2023/5/27
 */
@Service
public class TypeServiceImpl extends ServiceImpl<TypeMapper, Type> implements TypeService {
    @Autowired
    private TypeMapper typeMapper;
    @Override
    public List<TypeGroupVo> typeGroup() {
        return typeMapper.typeGroup();
    }

    @Override
    public List<RecommendGroupVo> recommendGroup() {
        return typeMapper.recommendGroup();
    }
}
